package com.hsnn.medstgmini.base.dict.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 企业产品资质 类型日志
 * @author wangbing@njhsnn
 * 2015年6月9日
 */
@Entity
@Table(name="dic_entprod_profile_log")
public class DicEntprodProfileLog implements java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String logId;//日志id
	private String dicEntprodProfileId;//企业产品资质类型ID
	private String firstLevelIndiCode;//一级类型编码
	private String firstLevelIndiName;//一级类型名称
	private String secoLevelIndiCode;//二级类型编码
	private String secoLevelIndiName;//二级类型名称
	private String thirdLevelIndiCode;//三级类型编码
	private String thirdLevelIndiName;//三级类型名称
	private String forthLevelIndiCode;//四级类型编码
	private String forthLevelIndiName;//四级类型编码
	private String status;//状态
	private String remark;//备注
	private String updDatetime;//更新时间
	private String updUser;//更新人
	
	private String detail;
	
	
	
	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	/** default constructor */
	public DicEntprodProfileLog() {
		super();
	}

	 /** full constructor */
	public DicEntprodProfileLog(String logId, String dicEntprodProfileId,
			String firstLevelIndiCode, String firstLevelIndiName,
			String secoLevelIndiCode, String secoLevelIndiName,
			String thirdLevelIndiCode, String thirdLevelIndiName,
			String forthLevelIndiCode, String forthLevelIndiName,
			String status, String remark, String updDatetime, String updUser) {
		super();
		this.logId = logId;
		this.dicEntprodProfileId = dicEntprodProfileId;
		this.firstLevelIndiCode = firstLevelIndiCode;
		this.firstLevelIndiName = firstLevelIndiName;
		this.secoLevelIndiCode = secoLevelIndiCode;
		this.secoLevelIndiName = secoLevelIndiName;
		this.thirdLevelIndiCode = thirdLevelIndiCode;
		this.thirdLevelIndiName = thirdLevelIndiName;
		this.forthLevelIndiCode = forthLevelIndiCode;
		this.forthLevelIndiName = forthLevelIndiName;
		this.status = status;
		this.remark = remark;
		this.updDatetime = updDatetime;
		this.updUser = updUser;
	}
	
	@Id
	@GenericGenerator(name="generator", strategy="uuid")
    @GeneratedValue(generator="generator")
	@Column(name="log_id", unique=true, nullable=false, length=36)
	public String getLogId() {
		return logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}
	
	@Column(name="dic_entprod_profile_id",  length=36)
	public String getDicEntprodProfileId() {
		return dicEntprodProfileId;
	}

	public void setDicEntprodProfileId(String dicEntprodProfileId) {
		this.dicEntprodProfileId = dicEntprodProfileId;
	}
	
	@Column(name="first_level_indi_code",  length=100)
	public String getFirstLevelIndiCode() {
		return firstLevelIndiCode;
	}
	
	public void setFirstLevelIndiCode(String firstLevelIndiCode) {
		this.firstLevelIndiCode = firstLevelIndiCode;
	}
	
    @Column(name="first_level_indi_name",  length=128)
	public String getFirstLevelIndiName() {
		return firstLevelIndiName;
	}

	public void setFirstLevelIndiName(String firstLevelIndiName) {
		this.firstLevelIndiName = firstLevelIndiName;
	}
	
	@Column(name="seco_level_indi_code",  length=100)
	public String getSecoLevelIndiCode() {
		return secoLevelIndiCode;
	}

	public void setSecoLevelIndiCode(String secoLevelIndiCode) {
		this.secoLevelIndiCode = secoLevelIndiCode;
	}
	
    @Column(name="seco_level_indi_name",  length=128)
	public String getSecoLevelIndiName() {
		return secoLevelIndiName;
	}

	public void setSecoLevelIndiName(String secoLevelIndiName) {
		this.secoLevelIndiName = secoLevelIndiName;
	}
	
    @Column(name="third_level_indi_code",  length=100)
	public String getThirdLevelIndiCode() {
		return thirdLevelIndiCode;
	}

	public void setThirdLevelIndiCode(String thirdLevelIndiCode) {
		this.thirdLevelIndiCode = thirdLevelIndiCode;
	}
	
	@Column(name="third_level_indi_name",  length=128)
	public String getThirdLevelIndiName() {
		return thirdLevelIndiName;
	}

	public void setThirdLevelIndiName(String thirdLevelIndiName) {
		this.thirdLevelIndiName = thirdLevelIndiName;
	}
	
	@Column(name="forth_level_indi_code",  length=100)
	public String getForthLevelIndiCode() {
		return forthLevelIndiCode;
	}

	public void setForthLevelIndiCode(String forthLevelIndiCode) {
		this.forthLevelIndiCode = forthLevelIndiCode;
	}
	
	@Column(name="forth_level_indi_name",  length=128)
	public String getForthLevelIndiName() {
		return forthLevelIndiName;
	}

	public void setForthLevelIndiName(String forthLevelIndiName) {
		this.forthLevelIndiName = forthLevelIndiName;
	}
	
	@Column(name="status")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	@Column(name="remark",  length=4000)
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Column(name="upd_datetime")
	public String getUpdDatetime() {
		return updDatetime;
	}

	public void setUpdDatetime(String updDatetime) {
		this.updDatetime = updDatetime;
	}
	
	@Column(name="upd_user",  length=36)
	public String getUpdUser() {
		return updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}

}
